<? global $lg, $FullUrl; ?>
<?php Template::UserControlTPL('Menu-GD'); ?>
<div class="form-main napthe">
  <form id="myForm" name="myForm" method="post" action="<?=$FullUrl?>/index.php?do=player&act=napthesm" style="padding-top:30px;padding-left:10px;width:390px; display:block; float:left;" onsubmit="return validateForm()" name="napthe">
        <label>Mã thẻ (phần cào)</label>
        <input type="text" name="pin" id="pin" />
        <br/>
        <label>Số Seri :</label>
        <input type="text" name="serial" id="serial" />
        <br/>
        <label>Nhà cung cấp:</label>
        <select name = "provider">
          <option value="VNP" selected>Vinaphone</option>
          <option value="VMS">Mobifone</option>
          <option value="VTT">Viettel</option>   
	<!--<option value="VTC">VTC Vcoin</option>-->	       
        </select>
        <br/>
        <label>Server Game:</label>
        <select name = "server">
          <option value="s3" selected>Bá Vương</option>
        </select>
        <br/>
        <?
        	$_SESSION['captcha'] = mt_rand(10000, 99999);
        ?>
        <div style="display:inline-block; margin-bottom: 10px; margin-left: 200px; width: 697px;"> <img src="lib/Captcha/PHP-CAPTCHA/php_captcha.php"></div>
        <label>Mã kiểm tra:</label>
        <input type="text" name="number_captcha" id="code" value="" onfocus="if(this.value=='Mã kiểm tra') this.value=''" onblur="if(this.value=='') this.value='Mã kiểm tra'" value="Mã kiểm tra"/>
        <br/>
        <!--<input type="hidden" name ="charge1" value="sac"/>-->
        <input type="submit"   value="" class="btnNapThe" />
      </form>
    <div style="display:block;float:left;margin-left:100px;width: 400px;color:#00F;"><a href="#">Chuyển KNB từ S1 & S2 qua Server mới Bá Vương khi bạn đạt đến <b>Level 50</b></a></div>
</div>
<script type="text/javascript">
function validateFormLogin()
{
 
	var x=document.forms["login"]["username"].value;
	var y=document.forms["login"]["password"].value;
	var z=document.forms["login"]["code"].value;

	if (x==null || x=='' || y==null || y=='' || z ==null || z =='')
	{  
		alert("Bạn cần điền đầy đủ thông tin");  
		
		return false;
	}
	
	return true;
	
}
</script>